package com.itheima.exercise.device;
/*
冰箱类
属性：品牌、型号、颜色、售价、门款式、制冷方式
 */
public class Fridge extends Device{
    private String doorStyle;
    private String coolingMethod;

    public Fridge() {
    }

    public Fridge(String brands, String type, String color, String price, String doorStyle, String coolingMethod) {
        super(brands, type, color, price);
        this.doorStyle = doorStyle;
        this.coolingMethod = coolingMethod;
    }

    public String getDoorStyle() {
        return doorStyle;
    }

    public void setDoorStyle(String doorStyle) {
        this.doorStyle = doorStyle;
    }

    public String getCoolingMethod() {
        return coolingMethod;
    }

    public void setCoolingMethod(String coolingMethod) {
        this.coolingMethod = coolingMethod;
    }
}
